.container{
    background-color: #f1f1f1;
    min-height: 100vh;
    .container-top{
        background-color: #8279ea;
        // 类型tabs 
        .trend-type {
            height: 74rpx;
            .trend-type-container{
                width: 250rpx;
                height: 74rpx;
                display: flex;
                margin: 0 auto;
                line-height: 74rpx;
                .trend-type-item {
                    flex: 1;
                    color: #fff;
                    opacity: 0.5;
                    font-size: 28rpx;
                    text-align: center;
                }
                .trend-type-item-active{
                    opacity: 1;
                    position: relative;
                    &::after{
                        position: absolute;
                        bottom: 4rpx;
                        left: 50%;
                        transform: translateX(-50%);
                        content: "";
                        display: inline-block;
                        background-color: #fff;
                        width: 60rpx;
                        height: 5rpx;
                        
                    }
                }
            }
        }
        // 时间tabs
        .trend-date {
            margin-top: 32rpx;
            .trend-date-container {
                width: 582rpx;
                height: 60rpx;
                margin: 0 auto;
                display: flex;
                font-size: 24rpx;
                line-height: 58rpx;
                color: #fff;
                box-sizing: border-box;
                overflow: hidden;
            .trend-date-item {
                flex: 1;
                text-align: center;
            }
            .trend-date-item:nth-child(1){
                border: 2rpx solid #fff;
                border-top-left-radius: 30rpx;
                border-bottom-left-radius: 30rpx;
            }
            .trend-date-item:nth-child(2){
                border-top: 2rpx solid #fff;
                border-right: 2rpx solid #fff;
                border-bottom: 2rpx solid #fff;
            }
            .trend-date-item:nth-child(3){
                border-top: 2rpx solid #fff;
                border-right: 2rpx solid #fff;
                border-bottom: 2rpx solid #fff;
                border-top-right-radius: 30rpx;
                border-bottom-right-radius: 30rpx;
            }
            .trend-date-item-active{
                background-color: #fff;
                color: #8279ea;
            }
            }
        }
        //图表
        .line-container{
            position: relative;
            height: 500rpx;
            .line-container-content{
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                box-sizing: border-box;
                ec-canvas {
                    width: 100%;
                    height: 500rpx;
                    background-color: #8279ea;
                }
            }
        }


    }


    .container-bottom {
        margin-top: 20rpx;
        background-color: #fff;
        padding:30rpx;
        .data-record {
            height: 370rpx;
          .data-record-item {
              width: 50%;
              float: left;
              text-align: center;
              height: 182rpx;
              box-sizing: border-box;
            .item-top {
                margin-top: 10rpx;
                font-size: 64rpx;
                color: #000000;
            }
            .item-bottom {
                margin-top: 10rpx;
                font-size: 24rpx;
                color: #a1a1a1;
            }
          }
          .data-record-item:nth-child(1){
              border-bottom: 1rpx solid #f0f0f0;
              border-right: 1rpx solid #f0f0f0;
          }
          .data-record-item:nth-child(2){
              border-bottom: 1rpx solid #f0f0f0;
          }
          .data-record-item:nth-child(3){
              border-right: 1rpx solid #f0f0f0;
          }
        }
      }
    .container-hint{
        margin-top: 10rpx;
        padding: 0 30rpx;
        font-size: 24rpx;
        color: #a6a6a7;
    }
}

